# import random
# i = 0
# while True:
#     if i == 3:
#         print("游戏结束")
#         break
#     player = int(input("剪刀/1,石头/2,布/3"))
#     com = random.randint(1, 3)
#     print(f"电脑出:{com}")
#     print(f"玩家出:{player}")
#     print(f"i的值为{i}")
#     if player == 1 and com == 3:
#         print("玩家赢")
#         i = i+1
#     if player == 1 and com == 2:
#         print("电脑赢")
#     if player == 2 and com == 1:
#         print("玩家赢")
#         i = i + 1
#     if player == 2 and com == 3:
#         print("电脑赢")
#     if player == 3 and com == 1:
#         print("电脑赢")
#     if player == 3 and com == 1:
#         print("玩家赢")
#         i = i + 1
#
#
# # print(com)
# a = 1
# b = 2
# while True:
#     a = a + b
#     b += 1
#     if b == 101 :
#         print(f"a的值为{a}，b的值为{b}")
#         break
a = 0
b = 1
for i in range(100):
    a = a + b
    b += 1
    print(f"取和为{a}")


class TestLogin:
    pass